package com.oplink.webems.modules.cfg.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.oplink.webems.modules.cfg.dao.CfgCardTypeDao;
import com.oplink.webems.modules.cfg.entity.CfgCardType;

@Component
@Transactional
public class CfgCardTypeService {

	@Autowired
	private CfgCardTypeDao cardtypeDao;

	public List<CfgCardType> getAllCardType() {
		return (List<CfgCardType>) cardtypeDao.findAll();
	}
	
}
